package com.lizonghui.googleplay.bean;

import com.lizonghui.googleplay.manager.DownLoadManger;

/**
 * Created by Administrator on 2016/6/28.
 * 下载的信息类
 * 封装下载需要的参数，状态
 */
public class DownLoadInfo {


    public String downloadUrl;//下载的子地址
    public String packageName;//包名
    public long size;//大小
    public String savePath;//下载的路径

    //DownLoadManger导包时候要注意，到我们的DownLoadManger包
    public int currentState = DownLoadManger.STATE_UNDOWNLOAD;//默认未下载
    public long progress;//下载的最新进度
    public Runnable downLoadTask;
}
